<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>页面布局</title>
        <style type="text/css">
            div{
                color:red;
            }
            #body{
                border: 2px solid black;
                width: 900px;
                align:center;
            }
            #container{height:500px;}
            #navi{width:200px;}
            #content{width:360px;}
            #side{width:200px;}
            #pagefooter{
                clear:both;
            }
            #header,#pagefooter,#container{
	            margin:10px auto;
	            width:850px;
	            border: 2px solid #000000;
            } 
            #navi,#content,#side{
                float:left;
                margin:10px;
                border:2px solid #000000;
                height:80%;	
            }
        </style>
    </head>
    <body>
        页面布局
        <div id="body">body
        <div id="header">header</div>
        <div id="container">container<br>
	        <div id="navi">navi</div>
	        <div id="content">content</div>
	        <div id="side">side</div>
        </div>
        <div id="pagefooter">pagefooter</div>
        </div>
    </body>
</html>